package com.yourenbang.lingyun.transaction.web.domain.dto.pay.jlpay;

import com.yourenbang.lingyun.core.util.json.ToJSON;
import lombok.Data;

import java.io.Serializable;

/**
 * <h3>service-transaction</h3>
 * <p></p>
 *
 * @author : jason
 * @date : 2020-09-02 15:28
 **/
@Data
public class TradePushDTO implements Serializable, ToJSON {
    public static final String PLEDGE_CASH_TYPE_JL = "1590";
    public static final String SIGN = "lakala.2021";
    /**
     * agent_id : 88880019
     * amount : 000000099910
     * area_code : 330300
     * busi_sub_type : 104
     * busi_type : 2004
     * card_no : 625969****1957
     * latitude : 28.070446
     * longitude : 120.691460
     * merch_no : M50000003528888
     * order_id : 2001010420191016203820115800
     * pay_type : 02
     * pos_sn : K205U009999
     * refer_no : 903120621885
     * ret_code : 00
     * ret_msg : 交易成功
     * term_no : M4857777
     * trans_id : 2001010420191016203820115800
     * fee_amount : 4499
     * trans_time : 20190312222421
     */

    private String agent_id;
    private String amount;
    private String area_code;
    /**
     * busi_sub_type
     * 	业务小类
     * 104-银行卡消费
     * 1537-B2C扫码
     * 1550-C2B扫码
     * 1567-NFC立牌
     * 1590-缴押金/服务费
     * 1593-缴会员费
     */
    private String busi_sub_type;
    private String busi_type;
    private String card_no;
    private String latitude;
    private String longitude;
    private String merch_no;
    private String merch_name;
    private String order_id;
    private String pay_type;
    private String pos_sn;
    private String refer_no;
    private String ret_code;
    private String ret_msg;
    private String term_no;
    private String trans_id;
    private String fee_amount = "0";
    private String trans_time;
    private String sign;

    private Short channelId;

    /**
     * 包含交易数量
     */
    private Integer tradeCount;
}
